#pragma once


#define WIN32_MEAN_AND_LEAN
#include <Windows.h>


#include <string>
using std::string;
enum TRIGGERTYPE { 
	NO_TRIGGER,
	TRIGGER_DAMAGE_AND_COLLISION,
	TRIGGER_COLLISION,
	TRIGGER_DAMAGE,	
	TRIGGER_EVENT
};

class CTile
{
public:
	CTile(void);
	CTile( int nTriggerType, const char* szTrigger, int nTileID );
	~CTile(void);

	/* Accessors */
	int		GetTriggerType( void ) const	{	return m_nTriggerType;	}
	string	GetTrigger( void ) const		{	return m_szTrigger;		}
	int		GetTileID( void ) const			{	return m_nTileID;		}
	int		GetDamage( void ) const			{	return m_nDamage;		}

	RECT		m_rRect;

private:
	int			m_nTriggerType;
	string		m_szTrigger;
	int			m_nTileID;
	int			m_nDamage;

};

